DSL development based on target meta-models. Using AST transformations for automating semantic analysis in a textual DSL framework
نویسنده
چکیده
This paper describes an approach to creating textual syntax for Domain-Specific Languages (DSL). We consider target meta-model to be the main artifact and hence to be developed first. The key idea is to represent analysis of textual syntax as a sequence of transformations. This is made by explicit operations on abstract syntax trees (ATS), for which a simple language is proposed. Text-to-model transformation is divided into two parts: text-to-AST (developed by openArchitectureWare [1]) and AST-to-model (proposed by this paper). Our approach simplifies semantic analysis and helps to generate as much as possible.
منابع مشابه
Are functional languages a good way to represent productive meta–models ?
Following Model Driven Development guidelines, developers will define meta–models, models and then implement transformations between models. Existing tools based on models require highly specific skills and knowledge from developers, and use Domain Specific Language (Dsl) as the entry point for final users. Is it possible to describe Dsl–based meta–models using functional programming concepts a...
متن کاملUsing Component Frameworks for Model Transformations by an Internal DSL
To increase the development productivity, possibilities for reuse, maintainability and quality of complex model transformations, modularization techniques are indispensable. Component-Based Software Engineering targets the challenge of modularity and is well-established in languages like Java or C# with component models like .NET, EJB or OSGi. There are still many challenging barriers to overco...
متن کاملModel Driven Software Development Approach on Procedural Modeling of Buildings
To construct virtual city models, sufficiently detailed and variously styled building models are required. Traditional production of such models demands extensive manual work and time. This process could be automated using the procedural methods. The aim of this work is to realize a DSL for procedural building modeling. Two approaches, a MOF based from-scratch approach and UML2 profiling, are a...
متن کاملA domain-specific language for defining static structure of database applications
In this paper we present DOMMLite an extensible domainspecific language (DSL) for static structure definition of databaseoriented applications. The model-driven engineering (MDE) approach, an emerging software development paradigm, has been used. The language structure is defined by the means of a metamodel supplemented by validation rules based on Check language and extensions based on Extend ...
متن کاملA DSL for the development of software agents working within a semantic web environment
Software agents became popular in the development of complex software systems, especially those requiring autonomous and proactive behavior. Agents interact with each other within a Multi-agent System (MAS), in order to perform certain defined tasks in a collaborative and/or selfish manner. However, the autonomous, proactive and interactive structure of MAS causes difficulties when developing s...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- CoRR
دوره abs/0801.1219 شماره
صفحات -
تاریخ انتشار 2007